package com.rc.saas.mini.model.tenant;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TenantBannerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TenantBannerExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBannerIdIsNull() {
            addCriterion("banner_id is null");
            return (Criteria) this;
        }

        public Criteria andBannerIdIsNotNull() {
            addCriterion("banner_id is not null");
            return (Criteria) this;
        }

        public Criteria andBannerIdEqualTo(Long value) {
            addCriterion("banner_id =", value, "bannerId");
            return (Criteria) this;
        }

        public Criteria andBannerIdNotEqualTo(Long value) {
            addCriterion("banner_id <>", value, "bannerId");
            return (Criteria) this;
        }

        public Criteria andBannerIdGreaterThan(Long value) {
            addCriterion("banner_id >", value, "bannerId");
            return (Criteria) this;
        }

        public Criteria andBannerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("banner_id >=", value, "bannerId");
            return (Criteria) this;
        }

        public Criteria andBannerIdLessThan(Long value) {
            addCriterion("banner_id <", value, "bannerId");
            return (Criteria) this;
        }

        public Criteria andBannerIdLessThanOrEqualTo(Long value) {
            addCriterion("banner_id <=", value, "bannerId");
            return (Criteria) this;
        }

        public Criteria andBannerIdIn(List<Long> values) {
            addCriterion("banner_id in", values, "bannerId");
            return (Criteria) this;
        }

        public Criteria andBannerIdNotIn(List<Long> values) {
            addCriterion("banner_id not in", values, "bannerId");
            return (Criteria) this;
        }

        public Criteria andBannerIdBetween(Long value1, Long value2) {
            addCriterion("banner_id between", value1, value2, "bannerId");
            return (Criteria) this;
        }

        public Criteria andBannerIdNotBetween(Long value1, Long value2) {
            addCriterion("banner_id not between", value1, value2, "bannerId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andBannerTypeIsNull() {
            addCriterion("banner_type is null");
            return (Criteria) this;
        }

        public Criteria andBannerTypeIsNotNull() {
            addCriterion("banner_type is not null");
            return (Criteria) this;
        }

        public Criteria andBannerTypeEqualTo(String value) {
            addCriterion("banner_type =", value, "bannerType");
            return (Criteria) this;
        }

        public Criteria andBannerTypeNotEqualTo(String value) {
            addCriterion("banner_type <>", value, "bannerType");
            return (Criteria) this;
        }

        public Criteria andBannerTypeGreaterThan(String value) {
            addCriterion("banner_type >", value, "bannerType");
            return (Criteria) this;
        }

        public Criteria andBannerTypeGreaterThanOrEqualTo(String value) {
            addCriterion("banner_type >=", value, "bannerType");
            return (Criteria) this;
        }

        public Criteria andBannerTypeLessThan(String value) {
            addCriterion("banner_type <", value, "bannerType");
            return (Criteria) this;
        }

        public Criteria andBannerTypeLessThanOrEqualTo(String value) {
            addCriterion("banner_type <=", value, "bannerType");
            return (Criteria) this;
        }

        public Criteria andBannerTypeLike(String value) {
            addCriterion("banner_type like", value, "bannerType");
            return (Criteria) this;
        }

        public Criteria andBannerTypeNotLike(String value) {
            addCriterion("banner_type not like", value, "bannerType");
            return (Criteria) this;
        }

        public Criteria andBannerTypeIn(List<String> values) {
            addCriterion("banner_type in", values, "bannerType");
            return (Criteria) this;
        }

        public Criteria andBannerTypeNotIn(List<String> values) {
            addCriterion("banner_type not in", values, "bannerType");
            return (Criteria) this;
        }

        public Criteria andBannerTypeBetween(String value1, String value2) {
            addCriterion("banner_type between", value1, value2, "bannerType");
            return (Criteria) this;
        }

        public Criteria andBannerTypeNotBetween(String value1, String value2) {
            addCriterion("banner_type not between", value1, value2, "bannerType");
            return (Criteria) this;
        }

        public Criteria andImgTypeIsNull() {
            addCriterion("img_type is null");
            return (Criteria) this;
        }

        public Criteria andImgTypeIsNotNull() {
            addCriterion("img_type is not null");
            return (Criteria) this;
        }

        public Criteria andImgTypeEqualTo(String value) {
            addCriterion("img_type =", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeNotEqualTo(String value) {
            addCriterion("img_type <>", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeGreaterThan(String value) {
            addCriterion("img_type >", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeGreaterThanOrEqualTo(String value) {
            addCriterion("img_type >=", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeLessThan(String value) {
            addCriterion("img_type <", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeLessThanOrEqualTo(String value) {
            addCriterion("img_type <=", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeLike(String value) {
            addCriterion("img_type like", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeNotLike(String value) {
            addCriterion("img_type not like", value, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeIn(List<String> values) {
            addCriterion("img_type in", values, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeNotIn(List<String> values) {
            addCriterion("img_type not in", values, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeBetween(String value1, String value2) {
            addCriterion("img_type between", value1, value2, "imgType");
            return (Criteria) this;
        }

        public Criteria andImgTypeNotBetween(String value1, String value2) {
            addCriterion("img_type not between", value1, value2, "imgType");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgIsNull() {
            addCriterion("tenant_logo_img is null");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgIsNotNull() {
            addCriterion("tenant_logo_img is not null");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgEqualTo(String value) {
            addCriterion("tenant_logo_img =", value, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgNotEqualTo(String value) {
            addCriterion("tenant_logo_img <>", value, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgGreaterThan(String value) {
            addCriterion("tenant_logo_img >", value, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_logo_img >=", value, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgLessThan(String value) {
            addCriterion("tenant_logo_img <", value, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgLessThanOrEqualTo(String value) {
            addCriterion("tenant_logo_img <=", value, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgLike(String value) {
            addCriterion("tenant_logo_img like", value, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgNotLike(String value) {
            addCriterion("tenant_logo_img not like", value, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgIn(List<String> values) {
            addCriterion("tenant_logo_img in", values, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgNotIn(List<String> values) {
            addCriterion("tenant_logo_img not in", values, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgBetween(String value1, String value2) {
            addCriterion("tenant_logo_img between", value1, value2, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andTenantLogoImgNotBetween(String value1, String value2) {
            addCriterion("tenant_logo_img not between", value1, value2, "tenantLogoImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgIsNull() {
            addCriterion("wechat_index_img is null");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgIsNotNull() {
            addCriterion("wechat_index_img is not null");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgEqualTo(String value) {
            addCriterion("wechat_index_img =", value, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgNotEqualTo(String value) {
            addCriterion("wechat_index_img <>", value, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgGreaterThan(String value) {
            addCriterion("wechat_index_img >", value, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgGreaterThanOrEqualTo(String value) {
            addCriterion("wechat_index_img >=", value, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgLessThan(String value) {
            addCriterion("wechat_index_img <", value, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgLessThanOrEqualTo(String value) {
            addCriterion("wechat_index_img <=", value, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgLike(String value) {
            addCriterion("wechat_index_img like", value, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgNotLike(String value) {
            addCriterion("wechat_index_img not like", value, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgIn(List<String> values) {
            addCriterion("wechat_index_img in", values, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgNotIn(List<String> values) {
            addCriterion("wechat_index_img not in", values, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgBetween(String value1, String value2) {
            addCriterion("wechat_index_img between", value1, value2, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andWechatIndexImgNotBetween(String value1, String value2) {
            addCriterion("wechat_index_img not between", value1, value2, "wechatIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgIsNull() {
            addCriterion("mini_index_img is null");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgIsNotNull() {
            addCriterion("mini_index_img is not null");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgEqualTo(String value) {
            addCriterion("mini_index_img =", value, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgNotEqualTo(String value) {
            addCriterion("mini_index_img <>", value, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgGreaterThan(String value) {
            addCriterion("mini_index_img >", value, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgGreaterThanOrEqualTo(String value) {
            addCriterion("mini_index_img >=", value, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgLessThan(String value) {
            addCriterion("mini_index_img <", value, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgLessThanOrEqualTo(String value) {
            addCriterion("mini_index_img <=", value, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgLike(String value) {
            addCriterion("mini_index_img like", value, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgNotLike(String value) {
            addCriterion("mini_index_img not like", value, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgIn(List<String> values) {
            addCriterion("mini_index_img in", values, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgNotIn(List<String> values) {
            addCriterion("mini_index_img not in", values, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgBetween(String value1, String value2) {
            addCriterion("mini_index_img between", value1, value2, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andMiniIndexImgNotBetween(String value1, String value2) {
            addCriterion("mini_index_img not between", value1, value2, "miniIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgIsNull() {
            addCriterion("app_start_img is null");
            return (Criteria) this;
        }

        public Criteria andAppStartImgIsNotNull() {
            addCriterion("app_start_img is not null");
            return (Criteria) this;
        }

        public Criteria andAppStartImgEqualTo(String value) {
            addCriterion("app_start_img =", value, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgNotEqualTo(String value) {
            addCriterion("app_start_img <>", value, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgGreaterThan(String value) {
            addCriterion("app_start_img >", value, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgGreaterThanOrEqualTo(String value) {
            addCriterion("app_start_img >=", value, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgLessThan(String value) {
            addCriterion("app_start_img <", value, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgLessThanOrEqualTo(String value) {
            addCriterion("app_start_img <=", value, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgLike(String value) {
            addCriterion("app_start_img like", value, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgNotLike(String value) {
            addCriterion("app_start_img not like", value, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgIn(List<String> values) {
            addCriterion("app_start_img in", values, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgNotIn(List<String> values) {
            addCriterion("app_start_img not in", values, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgBetween(String value1, String value2) {
            addCriterion("app_start_img between", value1, value2, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppStartImgNotBetween(String value1, String value2) {
            addCriterion("app_start_img not between", value1, value2, "appStartImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgIsNull() {
            addCriterion("app_index_img is null");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgIsNotNull() {
            addCriterion("app_index_img is not null");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgEqualTo(String value) {
            addCriterion("app_index_img =", value, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgNotEqualTo(String value) {
            addCriterion("app_index_img <>", value, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgGreaterThan(String value) {
            addCriterion("app_index_img >", value, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgGreaterThanOrEqualTo(String value) {
            addCriterion("app_index_img >=", value, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgLessThan(String value) {
            addCriterion("app_index_img <", value, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgLessThanOrEqualTo(String value) {
            addCriterion("app_index_img <=", value, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgLike(String value) {
            addCriterion("app_index_img like", value, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgNotLike(String value) {
            addCriterion("app_index_img not like", value, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgIn(List<String> values) {
            addCriterion("app_index_img in", values, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgNotIn(List<String> values) {
            addCriterion("app_index_img not in", values, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgBetween(String value1, String value2) {
            addCriterion("app_index_img between", value1, value2, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppIndexImgNotBetween(String value1, String value2) {
            addCriterion("app_index_img not between", value1, value2, "appIndexImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgIsNull() {
            addCriterion("app_flash_img is null");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgIsNotNull() {
            addCriterion("app_flash_img is not null");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgEqualTo(String value) {
            addCriterion("app_flash_img =", value, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgNotEqualTo(String value) {
            addCriterion("app_flash_img <>", value, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgGreaterThan(String value) {
            addCriterion("app_flash_img >", value, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgGreaterThanOrEqualTo(String value) {
            addCriterion("app_flash_img >=", value, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgLessThan(String value) {
            addCriterion("app_flash_img <", value, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgLessThanOrEqualTo(String value) {
            addCriterion("app_flash_img <=", value, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgLike(String value) {
            addCriterion("app_flash_img like", value, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgNotLike(String value) {
            addCriterion("app_flash_img not like", value, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgIn(List<String> values) {
            addCriterion("app_flash_img in", values, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgNotIn(List<String> values) {
            addCriterion("app_flash_img not in", values, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgBetween(String value1, String value2) {
            addCriterion("app_flash_img between", value1, value2, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashImgNotBetween(String value1, String value2) {
            addCriterion("app_flash_img not between", value1, value2, "appFlashImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgIsNull() {
            addCriterion("app_flash_ad_img is null");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgIsNotNull() {
            addCriterion("app_flash_ad_img is not null");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgEqualTo(String value) {
            addCriterion("app_flash_ad_img =", value, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgNotEqualTo(String value) {
            addCriterion("app_flash_ad_img <>", value, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgGreaterThan(String value) {
            addCriterion("app_flash_ad_img >", value, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgGreaterThanOrEqualTo(String value) {
            addCriterion("app_flash_ad_img >=", value, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgLessThan(String value) {
            addCriterion("app_flash_ad_img <", value, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgLessThanOrEqualTo(String value) {
            addCriterion("app_flash_ad_img <=", value, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgLike(String value) {
            addCriterion("app_flash_ad_img like", value, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgNotLike(String value) {
            addCriterion("app_flash_ad_img not like", value, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgIn(List<String> values) {
            addCriterion("app_flash_ad_img in", values, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgNotIn(List<String> values) {
            addCriterion("app_flash_ad_img not in", values, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgBetween(String value1, String value2) {
            addCriterion("app_flash_ad_img between", value1, value2, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAppFlashAdImgNotBetween(String value1, String value2) {
            addCriterion("app_flash_ad_img not between", value1, value2, "appFlashAdImg");
            return (Criteria) this;
        }

        public Criteria andAccessUrlIsNull() {
            addCriterion("access_url is null");
            return (Criteria) this;
        }

        public Criteria andAccessUrlIsNotNull() {
            addCriterion("access_url is not null");
            return (Criteria) this;
        }

        public Criteria andAccessUrlEqualTo(String value) {
            addCriterion("access_url =", value, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andAccessUrlNotEqualTo(String value) {
            addCriterion("access_url <>", value, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andAccessUrlGreaterThan(String value) {
            addCriterion("access_url >", value, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andAccessUrlGreaterThanOrEqualTo(String value) {
            addCriterion("access_url >=", value, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andAccessUrlLessThan(String value) {
            addCriterion("access_url <", value, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andAccessUrlLessThanOrEqualTo(String value) {
            addCriterion("access_url <=", value, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andAccessUrlLike(String value) {
            addCriterion("access_url like", value, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andAccessUrlNotLike(String value) {
            addCriterion("access_url not like", value, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andAccessUrlIn(List<String> values) {
            addCriterion("access_url in", values, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andAccessUrlNotIn(List<String> values) {
            addCriterion("access_url not in", values, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andAccessUrlBetween(String value1, String value2) {
            addCriterion("access_url between", value1, value2, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andAccessUrlNotBetween(String value1, String value2) {
            addCriterion("access_url not between", value1, value2, "accessUrl");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}